package com.ruoyi.mk.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 终端管理对象 mk_wireless
 * 
 * @author guan
 * @date 2021-12-10
 */
public class MkWireless extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 终端序号 */
    @Excel(name = "终端序号")
    private String terminalId;

    /** 终端名称 */
    @Excel(name = "终端名称")
    private String terminalName;

    /** 终端类型 */
    @Excel(name = "终端类型")
    private Long terminalGroup;

    /** 电量 */
    @Excel(name = "电量")
    private Long kwh;

    /** 信号 */
    @Excel(name = "信号")
    private String xinhao;

    /** 数据 */
    @Excel(name = "数据")
    private String shuju;

    /** 供电方式(0:电池供电,1:供电异常) */
    @Excel(name = "供电方式(0:电池供电,1:供电异常)")
    private Long modeId;

    /** 消警(0:关闭,1:打开) */
    @Excel(name = "消警(0:关闭,1:打开)")
    private Long xiaojing;

    /** 状态(0:离线,1:在线) */
    @Excel(name = "状态(0:离线,1:在线)")
    private Long state;

    /** 修改用户 */
    @Excel(name = "修改用户")
    private String updateUser;

    /** 添加用户 */
    @Excel(name = "添加用户")
    private String createUser;

    /** 删除状态(0在线,-1离线) */
    @Excel(name = "删除状态(0在线,-1离线)")
    private Long deleteState;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTerminalId(String terminalId) 
    {
        this.terminalId = terminalId;
    }

    public String getTerminalId() 
    {
        return terminalId;
    }
    public void setTerminalName(String terminalName) 
    {
        this.terminalName = terminalName;
    }

    public String getTerminalName() 
    {
        return terminalName;
    }
    public void setTerminalGroup(Long terminalGroup) 
    {
        this.terminalGroup = terminalGroup;
    }

    public Long getTerminalGroup() 
    {
        return terminalGroup;
    }
    public void setKwh(Long kwh) 
    {
        this.kwh = kwh;
    }

    public Long getKwh() 
    {
        return kwh;
    }
    public void setXinhao(String xinhao) 
    {
        this.xinhao = xinhao;
    }

    public String getXinhao() 
    {
        return xinhao;
    }
    public void setShuju(String shuju) 
    {
        this.shuju = shuju;
    }

    public String getShuju() 
    {
        return shuju;
    }
    public void setModeId(Long modeId) 
    {
        this.modeId = modeId;
    }

    public Long getModeId() 
    {
        return modeId;
    }
    public void setXiaojing(Long xiaojing) 
    {
        this.xiaojing = xiaojing;
    }

    public Long getXiaojing() 
    {
        return xiaojing;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setDeleteState(Long deleteState) 
    {
        this.deleteState = deleteState;
    }

    public Long getDeleteState() 
    {
        return deleteState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("terminalId", getTerminalId())
            .append("terminalName", getTerminalName())
            .append("terminalGroup", getTerminalGroup())
            .append("kwh", getKwh())
            .append("xinhao", getXinhao())
            .append("shuju", getShuju())
            .append("modeId", getModeId())
            .append("xiaojing", getXiaojing())
            .append("state", getState())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("deleteState", getDeleteState())
            .toString();
    }
}
